x = [0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
5.5
6
6.5
7
7.5
];

y1 = [-3
-2.881
-2.595
-2.318
-2.052
-1.744
-1.407
-1.096
-0.761
-0.332
0.087
0.475
0.965
1.498
2.146
2.756
];

y2 = [0.659
0.592
0.529
0.485
0.439
0.4
0.378
0.372
0.397
0.442
0.533
0.668
0.847
1.126
1.565
2.215
];

x11=linspace(min(x),max(x));
y11=interp1(x,y1,x11,'cubic');

x22=linspace(min(x),max(x));
y22=interp1(x,y2,x22,'cubic');

Line1 = line(x11,y11);
Line2 = line(x22,y22);

set(Line1, 'LineStyle', '--','LineWidth', 1,  'Color', [132  94  194]/255)
set(Line2, 'LineStyle', '--','LineWidth', 1,  'Color', [44  115  210]/255)

% 坐标区调整
set(gca, 'Box', 'off', ...                                % 边框
         'TickDir', 'out', 'TickLength', [.01 .01], ...   % 刻度
         'XMinorTick', 'off', 'YMinorTick', 'off', ...    % 小刻度
         'XColor', [.1 .1 .1],  'YColor', [.1 .1 .1],...  % 坐标轴颜色
         'XTick', 0:1:10,  'YTick', -3:1:3,...     % 刻度位置、间隔
         'Xlim' ,[0 10],'Ylim' ,[-3 3], ...          % 坐标轴范围
         'Xticklabel',{[0:1:10]},...                   % X坐标轴刻度标签
         'Yticklabel',{[-3:1:3]})                     % Y坐标轴刻度标签
% X、Y轴标签及Legend
hXLabel = xlabel('Time (s)');
hYLabel = ylabel('Acceleration (m/s^2)');
hLegend = legend([Line1,Line2], ...
                 'FV', 'SV', ...
                 'Location', 'northeast');
% 刻度标签字体和字号
set(gca, 'FontName', 'Times', 'FontSize', 9)
% X、Y轴标签及Legend的字体字号 
set([hXLabel, hYLabel,hLegend], 'FontName',  'Helvetica')
set([hXLabel, hYLabel,hLegend], 'FontSize', 10)
% 背景颜色
set(gca,'Color',[1 1 1])